PhpOffice\PhpSpreadsheet\Style\NumberFormat\NumberFormatter A

Total Complexity 53
Dependencies 3
Dependents 1
Total lines 319
Lines of code 201
Logical lines of code 136
Comment lines 58
Methods 12
Properties 0

Methods 12

Method Rating Maintainability Complexity Lines of code
format()
A
44 10 41
complexNumberFormatMask()
A
47 10 34
formatStraightNumericValue()
A
47 8 34
floatStringConvertScientific()
S
54 6 19
processComplexNumberFormatMask()
S
52 4 23
mergeComplexNumberFormatMasks()
S
58 4 15
padValue()
S
61 3 11
makeString()
S
78 2 3
areThousandsRequired()
S
68 2 7
scaleThousandsMillions()
S
65 2 8
f2s()
S
79 1 3
pregReplace()
S
77 1 3